package com.jic.product.mapper;

import com.jic.product.model.entity.MStore;
import com.jic.product.store.request.MStoreQueryRequest;
import com.jic.product.model.vo.request.MStoreRequest;
import com.jic.product.store.request.MStoreReq;

import java.util.List;
import java.util.Map;

public interface MStoreManageMapper {

	/**
	 * 根据实体仓库的Id,查询虚拟仓库的信息;
	 * @param shopId 实体仓编号
	 * @return
	 */
	List<Map<String,String>>  listAllIdsByShopId (Long shopId);

	List<MStore>  listMStoreInfoByOrderInfo (MStoreQueryRequest request);


	/**
	 * 获取可售数量最多的实体仓列表;
	 * @param list 请求参数
	 * @return MStoreResponse 响应参数
	 * author taozhouchuan
	 * @date 2020-4-28 20:14:23
	 */
	MStore  listMStoreOfMaxAvailable (List<MStoreReq> list);

	/**
	 * 获取当天发货量最少的的实体仓列表;
	 * @param list 请求参数
	 * @return MStoreResponse 响应参数
	 * author taozhouchuan
	 * @date 2020-4-28 20:14:23
	 */
	MStore  listStoreOfMinDelivery (List<MStoreReq> list);

	}
